package h_factory.c_method;

/**
 * Created by wug on 2016/7/6 0006.
 */
public class WeaponSwordFactory extends WeaponFactory {
    @Override
    protected Weapon makeWeapon(WeaponEnum weaponEnum) {
        if(weaponEnum.equals(WeaponEnum.GOLD_GREATS_SWORD)) {
            return new WeaponGoldGreatsword();
        }
        return null;
    }
}
